package com.daffodil.workable.factory.strategy;

import javax.validation.constraints.NotNull;

import com.daffodil.workable.entity.WorkableNode;
import com.daffodil.workable.entity.WorkableResult;

/**
 * -任务工作流抽象策略
 * @author yweijian
 * @date 2022年4月8日
 * @version 1.0
 * @description
 */
public interface WorkableStrategy {

    public WorkableResult run(@NotNull String traceId, @NotNull WorkableNode workableNode, WorkableResult lastResult);
    
}
